package com.zzl.study.sharding.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: zhangzl
 * @date: 2022/7/8 11:03
 * @version: 1.0
 * @description: 项目对象
 */
@TableName("t_project")
@Data
public class Project {

    /**
     * 订单ID
     */
    @TableId("id")
    private Long id;

    /**
     * 项目名称
     */
    @TableField("project_name")
    private String projectName;

    /**
     * 项目金额
     */
    @TableField("project_amount")
    private BigDecimal projectAmount;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

}
